home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DTP
/
DTP_TEX
/
2848E.ZIP
/
DVI2HERC.ARC
/
DVI2HERC.DOC
next >
Wrap
Text File
|
1988-09-19
|
3KB
|
89 lines
Preliminary Documentation
DVI2HERC - A .dvi previewer for Hercules Graphics Cards
This is a brief description of (and user's guide to)
DVI2HERC, a program intended for IBM-PC compatible computers
having a Hercules graphics card and standard monochrome
monitor.
DVI2HERC is part of the DosTeX package and is distributed
with a set of .pk fonts analogous to those intended for
the Epson .dvi driver. The motivation for creating DVI2HERC
is that the Epson driver is rather slow, taking over
3 minutes per page processing time. DVI2HERC is much faster,
processing a page of dense text in less than 1/10 the time.
DVI2HERC normally uses the same .pk font raster files as the
Epson printer driver DVIEPS. A subsampling process converts
the high resolution fonts for display using the Hercules card.
PK files at the Hercules resolution may also be directly used
(see the -s option below).
DVI2HERC looks for .pk font rasters in subdirectories under
a given path. The default path is "d:\tex\fonts\pk". It may
be changed by setting an environment variable FONTDIR. For
example,
SET FONTDIR = C:\FONTS\PK\
will cause DVI2HERC to try to open file C:\FONTS\PK\240\CMR10.PK
when cmr10 at normal (240 dpi, subsampled down to 120dpi)
magnification is required. When generating screen resolution fonts
for DVI2HERC, horizontal dpi should be 120, vertical 72.
It is currently a fatal error to have a missing .pk file. The
default fonts (240 dpi only) are distributed in .ARC format and should be
automatically installed by the INSTALL program. Screen resolution fonts
are not currently distributed. You will need a copy of Metafont to
build these.
Options - The following are command line options (%s indicates a string,
%d an integer, %f a floating point number):
-a %s (Override the default and FONTDIR paths for PK files)
-b (No bell)
-f %d (First page)
-h %f (Horizontal Pan Factor, 0.0 < %f < 8.0, 2.0 default)
-p (Don't preload fonts)
-r (Reverse Order Processing of Pages)
-s (Use Screen Resolution fonts, Default is Epson fonts)
-t %d (Last page)
-x %d (Look at a single page)
Since the Hercules card has such low vertical resolution, it is not possible
to view an area 8.5" x 11" all at once. Total pixels are 720 x 348, which
works out (roughly) to a 6" x 4.5" viewing area which may be moved over the
document. Note this requires 3 passes to view the length of an 11" tall page.
Pass 0 is the top of the page. Complete viewing of documents longer
than 13.5" is not possible.
The left margin of the viewing area starts off at 0, but may be increased to
any value less than 8.0 inches through using the -h command line option.
Once viewing a page, there are several commands:
<BACKSPACE> : Go back a page if possible (pass set to 0, or top of page)
<SPACE>,
Down Arrow : Next pass (new page if needed)
<ENTER> : Next page (pass 0)
Up Arrow : Previous pass (no page change)
Right Arrow : Set left margin to horizontal pan factor (inches)
Left Arrow : Set left margin to 0
q,Q,^C : Quit
Send questions, comments and other feedback to:
Electronetics, Inc.
c/o Gary Beihl
119 Jackrabbit Run
Round Rock, TX 78664